package com.ruoyi.zhjd.laboratory.modules.laboratorycuringroom.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.zhjd.laboratory.modules.laboratorycuringroom.dto.LaboratoryCuringRoomListDto;
import com.ruoyi.zhjd.laboratory.modules.laboratorycuringroom.mapper.LaboratoryCuringRoomMapper;
import com.ruoyi.zhjd.laboratory.modules.laboratorycuringroom.service.LaboratoryCuringRoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @ClassName LaboratoryCuringRoomServiceImpl
 * @Description 养护室业务接口实现
 * @author linhuawei
 * @since 2022-04-29
 */
@Service
public class LaboratoryCuringRoomServiceImpl implements LaboratoryCuringRoomService {

    @Autowired
    private LaboratoryCuringRoomMapper laboratoryCuringRoomMapper;

//    @Autowired
//    private BaseServiceComponent baseServiceComponent;

    @Override
//    @ZhjdDataFilter(tableAlias = "t1")
    public IPage<LaboratoryCuringRoomListDto> page(Map<String, Object> params) {
//        IPage<LaboratoryCuringRoomListDto> page = baseServiceComponent.getPage(params,LaboratoryCuringRoomListDto.class);
        return laboratoryCuringRoomMapper.queryDto(null, params);
    }

}
